package com.campusbackend.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 系统通知列表响应对象（不包含content字段）
 *
 * @author yezi
 * @since 2025-07-29
 */
@Data
@Schema(name = "SystemNotificationListVO", description = "系统通知列表响应对象")
public class SystemNotificationListVO {

    @Schema(description = "主键ID")
    private Long id;

    @Schema(description = "通知标题")
    private String title;

    @Schema(description = "通知摘要")
    private String summary;

    @Schema(description = "浏览次数")
    private Integer viewCount;

    @Schema(description = "发布者姓名")
    private String publisherName;

    @Schema(description = "状态：1-已发布，0-草稿")
    private Integer status;

    @Schema(description = "发布时间")
    private LocalDateTime publishTime;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
